package sel.me.popular.library.learning.cglib;

/**
 * @author shenenlu 2021年01月27日 下午14:37:18
 */
public class CglibDemo {

    static class In{
        static  class InIn{

        }
    }

    public static void main(String[] args) {
        CglibProxy cglibProxy = new CglibProxy();
        Do o = (Do)cglibProxy.newProxyInstance(Do.class);
        System.out.println(o.doSomething(5));

//        In in= new In();
//        In.InIn inin = new In.InIn();
//        System.out.println(inin.getClass());
    }
}

//final class Do{
class Do{
    public int doSomething(int number){
        System.out.println("方法执行中。。。。。。" + number);
        return number;
    }
}
